<?php
$strTableName="tbl_san_pham";
$_SESSION["OwnerID"] = $_SESSION["_".$strTableName."_OwnerID"];

$strOriginalTableName="tbl_san_pham";

$gstrOrderBy="";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy="order by ".$gstrOrderBy;

$g_orderindexes=array();
$gsqlHead="SELECT tbl_san_pham.id,  tbl_san_pham.ten_san_pham,  tbl_san_pham.hinh_anh,  tbl_san_pham.mo_ta_ngan_gon,  tbl_san_pham.mo_ta_chi_tiet,  tbl_san_pham.gia,  tbl_san_pham.noi_san_xuat,  tbl_san_pham.ma_danh_muc,  tbl_san_pham.hien_len_trang_chu,  tbl_danh_muc_san_pham.ten_danh_muc";
$gsqlFrom="FROM tbl_san_pham  INNER JOIN tbl_danh_muc_san_pham ON tbl_san_pham.ma_danh_muc = tbl_danh_muc_san_pham.id";
$gsqlWhereExpr="";
$gsqlTail="";

include(getabspath("include/tbl_san_pham_settings.php"));

// alias for 'SQLQuery' object
$gQuery = &$queryData_tbl_san_pham;
$eventObj = &$tableEvents["tbl_san_pham"];

$reportCaseSensitiveGroupFields = false;

$gstrSQL = gSQLWhere("");


?>